const util = require('util');
const figlet = util.promisify(require('figlet')) // 文字工具
const clear = require('clear');
const chalk = require('chalk');
const log = content=>console.log(chalk.green(content))

async function bigText(name){
    clear();
    const data = await figlet(name)
    log(data)
}

module.exports = {
    bigText,
    log
}